package com.fjec.devops.controller;

import com.fjec.common.protocol.JsonResult;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.fjec.devops.service.IStatUnmarketUserNumService;

import javax.annotation.Resource;

/**
 * <p>
 * 016.统计-普通用户数量表 前端控制器
 * </p>
 *
 * @author admin
 * @since 2020-09-18
 */
@RestController
@RequestMapping("/")
public class StatUnmarketUserNumController {

    @Resource
    private IStatUnmarketUserNumService service;

    /**
     * 统计-普通用户数量
     *
     * @return
     * @throws Exception
     */
    @RequestMapping("/y/unmarket/user/num")
    public JsonResult statUnMarketUserNum() throws Exception {
        return service.statUnMarketUserNum(15);
    }

    @RequestMapping("/y/unmarket/user/fake/data")
    public JsonResult statUnMarketUserFakeData() throws Exception {
        return service.statUnMarketUserFakeData();
    }
}
